<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form 
        name="myForm" 
        action="#" 
        method="get" 
        target="_self" 
        enctype="application/x-www-form-urlencoded">
        <!-- 表单内部可以添加表单项目 -->
        姓名：<input type="text" name="name">
        <!-- 提交按钮 -->
        <input type="submit" value="提交">
    </form>
</body>
</html>